package com.alan.validate.constraints.Impl;

import com.alan.validate.constraints.NotNull;
import com.alan.validate.utils.ParamValidate;

public class NotNullValidate implements ParamValidate<NotNull,String> {

	
	public void initialize(NotNull constraintAnnotation){
	}
	
	public boolean isValid(String value) {
		if (value == null) {
			return false;
		}
		return true;
	}

}
